Tetrahalidometallate(II) Ionic Liquids with More than One Metal: The Effect of Bromide versus Chloride

Abstract Fifteen N‐butylpyridinium salts – five monometallic [C4Py]2[MBr4] and ten bimetallic [C4Py]2[M0.5 aM0.5 bBr4] (M=Co, Cu, Mn, Ni, Zn) – were synthesized, and their structures and thermal and electrochemical properties were studied. All the compounds are ionic liquids (ILs) with melting points between 64 and 101 °C. Powder and single‐crystal X‐ray diffraction show that all ILs are isostructural. The electrochemical stability windows of the ILs are between 2 and 3 V. The conductivities at room temperature are between 10−5 and 10−6 S cm−1. At elevated temperatures, the conductivities reach up to 10−4 S cm−1 at 70 °C. The structures and properties of the current bromide‐based ILs were also compared with those of previous examples using chloride ligands, which illustrated differences and similarities between the two groups of ILs.


Introduction
Ionic liquids (ILs) have gathered a lot of interest; this is due to their interesting and sometimes surprising properties. ILs are salts with rather low melting points below about 100°C. This is mainly due to weaker interactions between the constituting ions compared to conventional salts. The weakening of the interactions originates from steric effects mostly caused by the cations and charge delocalization in both anions and cations. As a consequence, ILs have much lower melting points than most conventional (inorganic) salts. ILs are effective solvents for organic and inorganic compounds, display high ionic conductivity, often good electronic conductivity, and often have a broad electrochemical stability window. [1][2][3][4] Due to their low flammability and low vapor pressure, ILs are often safe and easy to handle. [4,5] Moreover, ILs have gained popularity since their chemical, physical or biological properties can easily be adjusted by changing the anion or cation, or by altering and/or adding specific functional groups. [2,5] As a result, ILs are often used as electrolytes in batteries, fuel cells, actuators and photovoltaic cells, or used as solvents or catalysts thus demonstrating a very broad application potential. [6][7][8][9] Metal-containing ILs (MILs), that is, ILs including at least one metal ion in the anion or cation, have attracted growing attention in the recent past. [10] Due to the presence of metals, MILs possess interesting and highly variable catalytic, electrochemical, magnetic, and optical properties, with some of them being unique to MILs compared to other ILs. [3,5,[11][12][13][14][15][16][17][18][19][20][21] While there are already numerous studies on main group metal ILs, [22] transition metal-based MILs show increasing interest for the above applications and beyond. This is mostly due to the fact that the transition metals provide access to a wide variety of properties that can be imparted to the ILs through, for example, the diverse redox properties of the transition metal constituents. Moreover, MILs are not just interesting materials in their own right, they can also act as starting materials for the synthesis of a large variety of inorganic or hybrid materials like carbon/inorganic composites or metal sulfides. [19,[23][24][25][26][27] MILs therefore are very useful and highly adaptable ionic liquid precursors (ILPs) for the synthesis of a large variety of (nano)materials such as sulfides, selenides, oxides, or perovskite structures for, for example, use in green energy conversion. [28,29] The [MX 4 ] nÀ unit (M=Cu, Co, Mn, Ni, Zn, Pd, In, Ga, Cd, Al, Fe, etc.; X=Cl, Br, I; n = 1, 2, 3) is the most common building block for the anion in MILs. Those halidometallate ILs present arguably the largest subgroup of MILs studied, with chloridometallate ILs being the most common ones. [10,17,[30][31][32][33][34][35][36][37][38][39] Although MILs have attracted a lot of attention, there are only few studies on the influence of metals, metal combinations, or type of halide on optical, electrochemical, thermal, and structural properties. Abouserie et al. [10] studied the influence of three different transition metals in monometallic ILs on thermal and structural properties. Kore et al. [22] made bimetallic ILs using transition metals and group III metals. Recently, Liu et al. [40] reported mixed MILs by adding a metal salt to a monometallic MIL, that is, an IL based on only one metal ion type. Moreover, Yoshida et al. [41] studied the influence of halides on the physical properties of paramagnetic imidazolium-based MILs. None of these studies, however, analyzes the influence of multiple metals or different halides on the thermal, structural, optical, and especially electrochemical properties of the ILs at room and elevated temperatures.
As a result, there is basically no information on the correlation between chemical composition, details of the resulting structure, and the optical, electronic or magnetic properties of the MILs. We have recently reported the first data of chloride-based MILs with a series of d-metals and their mixtures and demonstrated a strong influence of the metal cation on the properties of the MILs. [42] In line with previous data, the N-butylpyridinium cation was used as the counterpart of the tetrabromidometallate (II) anion. This allows for comparisons with the chloride analogues published before and ensures a higher stability and higher melting points of the compounds compared to imidazolium-based compounds. [43][44][45] Moreover, previous studies showed that the use of bigger cations compared to pyridinium may not result in ILs. [44][45] Rather, they result in crystalline compounds which decompose at elevated temperatures. The current article focuses on the structural, thermal and electrochemical properties of much less well established bromidometallate(II) MILs and further expands the pool of these interesting and useful compounds.

Results and Discussion
All MILs were synthesized according to established protocols (Figure 1). At room temperature, all MILs are solid with melting points ranging from 64 to 101°C.
Inductively coupled plasma optical emission spectrometry (ICP-OES) data, Table 1, show that the experimentally obtained compositions almost exactly match the calculated compositions with a general mismatch between calculated and experimental metal content of under 2 atom%. IL10 (theoretical Zn/Ni composition of 50 : 50) is the single exception showing a higher deviation of roughly 8 atom%. This correlates well with previous data [42] showing that the synthetic approach is clearly capable and viable for the synthesis of MILs containing multiple metals in a defined ratio.
Single-crystal X-ray diffraction shows that IL11 crystallizes in the monoclinic space group P2 1 /n with four formula units per unit cell, identical to previous examples such as (C 4 Py) 2 [CuCl 4 ]. [42] However, the cell parameters and the arrangement of the ions differ in both compounds. Table 2 summarizes the crystallographic and refinement data of IL11. The asymmetric unit is shown in Figure 2.
To determine the short intermolecular contacts between the ions in IL11, the Hirshfeld surface of the anion was analyzed. [46] Figure 3 (top) shows the Hirshfeld surface area of Theoretical composition from synthesis. [b] No ICP-OES measurements were made for the monometallic ILs as no other metals can be expected in these compounds. They are listed for completeness and for identifying the respective IL labels. Note: IL13a describes the chloride analogue of IL13 (see Figure 5, below).
the [CuBr 4 ] 2À anion for the Br···H contacts (left) and the Br···C contacts (right) with a d norm range of À 0.07 to 1.0 Å. The arrangement of the cations and anions in the solid state occurs with the formation of CÀ H · · · Br hydrogen bonds and anion-π interactions between the bromide ligands of the anions and the aromatic ring of the cations. Figure 3 (bottom) shows the environment of the symmetry-independent anion with hydrogen bonds visualized in red dashed lines, anion-π interactions in blue dashed lines and the center of the aromatic ring shown as black dot and labeled as X. The bond distances and angles of the interactions are summarized in Table 3. With H···Br distances ranging from 2.81 to 3.00 Å and CÀ H···Br angle far below 180°the hydrogen bonds are weak, even weaker than those observed in similar compounds. [47] The Br atom labeled Br4 forms two anion-π interactions to the aromatic rings of two    neighboring butyl-pyridinium cations with Br···X distances of 4.083 and 3.672 Å. [48] These short distances and the resulting N···X···Br angles of nearly 90°suggest, that the interactions are relative strong and may be preferred over weak CÀ H···Br hydrogen bonds. The unit cell of IL11 is shown in Figure 4. Due to the absence of strong directional intermolecular interactions, the arrangement of the anions in the unit cell is relatively diffuse. In contrast to the chloride-coordinated compound (C 4 Py) 2 [CuCl 4 ], 42 the arrangement of the ions does not lead to a formation of chains or sheets in (C 4 Py) 2 [CuBr 4 ]. This observation agrees with the weak crystallinity ( Figure S1 in the Supporting Information) and the low melting point of IL11 of 64.7°C which is slightly lower than the melting point of (C 4 Py) 2 [CuCl 4 ] with 67.0°C.
The crystal structure of all ILs was further analyzed using powder X-ray diffraction (XRD), Figure 5. The XRD data show that all compounds are solid and crystalline at room temperature. Furthermore, all [MBr 4 ] 2À based ILs are isostructural, Figure 5a-c. While the intensity of the reflections differs to some extent, which is probably due a high number of defects and disorder in each sample, the position of the reflections are identical. As with previously published data on chloridecontaining MILs, [42] the background of the patterns is relatively noisy.
Moreover, similar to previous studies, [10,42] the exchange of one 3d-metal cation for another one (or for multiple cations) does not result in significant changes in the crystal structure. Interestingly, a comparison of the diffractograms of a Mn-based MIL containing chloride with a Mn-based MIL containing bromide (IL13; Figure 5e) shows minor differences in the reflection positions and intensities. The shifts indicate a change in the cell dimension. We currently attribute the shifting peak positions to the change of the bond length between copper and the two halides. The change in the reflection intensities can be attributed to a change in the bond angles and the inclusion of different atoms. This hypothesis is supported by theoretical calculations of the two manganese ILs (IL13, Table 1) with one containing chloride and the other containing bromide, as shown in Figure 5d. Here, the unit cells were calculated using DFT with the PBE functional, by calculating the diffractograms with the entropy method from optimized unit cell structures. The calculations show that the diffractograms display a high degree of agreement. The differences to the measured diffractograms ( Figure 5e) are due to the calculated diffractograms being optimized at 0 K and 0 atm.
All MILs crystallize in the same space group P2 1 /n. The chloride-containing ILs [10,42] and the bromide-containing ILs ( Table 1) can be classified as being isostructural within their groups, but this does not fully apply to the comparison of both MIL groupings. However, there is a high degree of agreement and conformity between the MILs containing chloride or bromide in terms of their structure. Moreover, XRD shows that traces of N-butylpyridinium bromide remain in the powders ( Figure S2).
Furthermore, a more detailed comparison of the theoretical and experimental XRD data between 10 to 15°2θ obtained for IL13 is displayed in Figure 5f. There is a good agreement between the experimental and calculated diffractograms using theoretical structures obtained by DFT. Comparing the reflection positions of three prevalent lattice planes (cell parameters in Table S2), Tables 4 and S1, it is clear that the shifts in the patterns between chloride and bromide-based compounds is minimal with the highest being 0.6°2θ for the experimental data and 0.3°2θ for the theoretical data. This is expected due to the different ionic radii of chloride (181 pm) and bromide (196 pm), which impact the unit cell volume and thus the cell parameters. The deviations between theoretical and experimental data are also expected due the different conditions (0 K, 0 atm) of DFT. Consequently, the comparison of the theoretical and experimental data shows that the theoretical approach is highly viable and produces promising data. This is especially valuable when working with MILs, which typically do not crystallize easily and it is therefore

Chemistry-A European Journal
Research Article doi.org/10.1002/chem.202201068  (Table 1) and c) the monometallic MILs 11-15 (Table 1). d) A comparison between calculated manganese-ILs containing either chloride or bromide, as calculated and optimized by using DFT. e) A comparison between a synthesized chloride-containing and a bromide-containing manganese-IL (IL13, Table 1). f) A detailed comparison of the theoretical and experimental data on IL13 in the region of 10-15°2θ also showing the corresponding hkl values. XRD measurements for (e) and (f) were made by using repetitive measurements for a better signal-to-noise ratio and better resolution. The y-axis shows the intensity (in a.u.). Note: The copper-containing MILs (IL1-4 and IL11) show reflection splitting; this indicates a possible distortion or deterioration of the monoclinic space group.

Chemistry-A European Journal
Research Article doi.org/10.1002/chem.202201068 not always possible to obtain good quality crystals for X-ray analysis.
Additionally, it is important to keep in mind that the starting point for the DFT calculations was the previously published copper-chloride-containing MIL, which possesses a different albeit isostructural and isoelectronic anion. 42 This also shows the transferability of the method from better-known compounds to lesser known structures. Figure 6a-c shows the IR spectra of the MILs. Similar to the chloride-containing MILs, [42] the spectra of the individual MILs are identical. Essentially the only difference can be found between 3500 and 2800 cm À 1 with varying intensities of the absorption bands. These signals can be attributed to the presence of water in the MILs, which is not surprising, as ILs and MILs are known for their hygroscopicity. [42,49] Furthermore, all MILs show the typical absorption bands at 1630, 1580, and 1490 cm À 1 that can be assigned to the aromatic C=C and C=N stretching vibrations of the pyridinium ring. The typical OÀ H deformation vibrations between 1390 and 1210 cm À 1 further indicate the presence of water. Bands at 1170 and 958 cm À 1 are typical for (exocyclic) CÀ N stretching vibrations of alkylated pyridinium salts. Additionally, aromatic deformation vibrations can be observed at 770, 730 and 680 cm À 1 . Overall, IR spectroscopy confirms the presence of the pyridinium cations in the compounds and also strongly indicates the presence of water within the solids.
In addition, Figure 6d further compares the IR spectra of existing chloride-containing MILs [42] and the newer bromidecontaining MILs using a pure copper MIL and a mixed coppermanganese MIL (IL1 and IL11, Table 1) as an example. Clearly, the IR spectra perfectly match with the only difference being the amount of water in the samples as shown by the intensity of the absorption bands between 3500 and 2800 cm À 1 . Thus, the properties and behavior of the organic cation in the bromide-containing MILs is identical to the organic part of the chloride-containing MILs. This illustrates that the [MX] 4 2À anion clearly is the building block responsible for the properties of each IL. Besides the IL structure, thermal properties were analyzed as well. Figure 7a and b shows representative differential scanning calorimetry (DSC) data, with the remaining being summarized in Table S3. All MILs have melting points between 64 and 101°C, which is in line with previous data. [10,42] It has to be noted, however, that some of the Cu-and Ni-containing MILs show a rather broad melting peak with a minor part of the melting process occurring at lower temperatures between 50 and 70°C. As in other cases, this can be assigned to smaller crystallites melting at lower temperatures (pre-melting). Furthermore, copper-containing MILs (IL1-4 and IL11) show a cold crystallization during the heating cycle.
Moreover, all MILs show lower melting points than pure Nbutylpyridinium chloride (T M = 160°C) and pure N-butylpyridinium bromide (T M = 108°C). The compounds containing copper occasionally show glass transition points and cold crystallization processes, which are well known for ILs. [50] The coppercontaining MILs also show the lowest melting points, which may be the result of the Cu II d 9 system exhibiting Jahn-Teller distortions. [10,44,45,51] As a result of Jahn-Teller distortions, systems like Cu II d 9 show a tendency of an s-d promotion. This leads to an increase of so-called "preferred liquid structures" that possess partially filled d-bands and act as impurities, which leads to lower free energies and thus, for example, lower melting temperatures. [52][53][54] After repeated heating and cooling, the copper-containing MILs show a broadening in the crystallization peak combined with the delayed crystallization during the heating cycle. Interestingly, manganese seems to prevent or hamper the delayed crystallization in copper-containing samples. Upon cooling, the crystallization temperature can be observed between À 1 and + 54°C, depending on the sample.
Additionally, thermogravimetric analysis (TGA) data show that the MILs are thermally stable up to 200-250°C, Figure S3. This is consistent with previous data on chloride-based MILs. [10,42,55] The first weight loss is observed between 200 and 250°C with a weight loss of around 55 % in IL11 and 65 % in IL13. The second step occurs at 350°C, however, only in IL11. Overall, a weight loss of around 70 to 90 % is observed for all MILs is observed.
At last, the electrochemical properties of the MILs were analyzed. Firstly, the electrochemical stability window (ESW) was determined using cyclic voltammetry (CV). The ESW is determined by analyzing the range within which the MILs show no irreversible changes from electrolysis or other decomposition. Furthermore, CV provides insights into oxidation and reduction processes between À 1 to 3 V. All MILs were studied using a ferrocene reference standard in a dry acetonitrile solution to prevent redox processes of excess water. [56] The potential limits were chosen to provide experimental parameters such that the data can be compared to previous data. [42] Furthermore, the MILs show a significantly higher current above + 3 V and notable lower values below À 1 V, which might indicate decomposition processes above or below those limits.
Interestingly, all bromide-containing MILs studied here show a nearly identical redox behavior, Figure 8 with the only changes being slightly differing peak locations. All CVs show a reduction peak around 0.75 � 0.1 V, and an oxidation peak at  0.35 � 0.1 V. These signals can be assigned to the reduction/ oxidation of the ferrocene reference. [42] Besides the ferrocene signal, there is no other process that can be observed in this measurement. This indicates that the MILs are rather stable under these conditions. To further prove that the respective signals in the CV data are solely from the ferrocene, CVs without ferrocene were obtained as well, Figure S7. Here, no redox processes are visible; this indeed demonstrates that the only source of this particular signal is the ferrocene standard.
Secondly, the conductivities of the ILs were determined using temperature-dependent impedance spectroscopy. [57][58][59][60][61] Here, the resistance values of the MILs used as electrolytes between two electrodes are measured and converted into the corresponding conductivities. Table 5 shows the impedance data as well as measurement parameters and the resulting conductivity values. The measurements of IL11 and partly IL1 did not result in analyzable data due to redox-and degradation processes during measurements. This observation correlates well with the behavior of the corresponding chloride-containing copper-IL. [42] Besides these side reactions, IL1 and IL11 have the lowest melting points and show a broad melting peak, indicating first melting processes starting at temperatures as low as 55°C. Because all measurements were conducted from 30 to 70°C, this will affect the results because, in contrast to all other ILs studied here, IL1 and IL11 are partly liquid during these measurements. Furthermore, IL2 shows very weak pre-melting processes around 70°C just before its melting point, which may slightly improve the MIL-Electrode-contact surface.
The temperature range was chosen for the following reasons: 1) the general melting temperatures of the MILs are between 64 and 101°C, with all of them being above 70°C with the exception of IL1, 2) operation temperatures of devices, for example, photovoltaic cells, are between 50 and 70°C, [62] and 3) chloride-containing MILs have been studied in the same temperature range.
Generally, the temperature-dependent measurements show that near room temperature the combined conductivity (ionic and electronic) of all ILs ranges between 10 À 6 and 10 À 5 S cm À 1 , with IL14 showing the highest conductivity of 4.83 · 10 À 5 S cm À 1 . This is in agreement with the corresponding chloride-containing ILs,

Chemistry-A European Journal
Research Article doi.org/10.1002/chem.202201068 which show conductivities in the range of 10 À 4 to 10 À 8 S cm À 1 near room temperature (Figure 9a-c). Interestingly, the range of the conductivities observed for the bromide-based systems is much smaller than in the case of the chloride-based MILs.  (Table 1). d) Comparison of the conductivities of the bromidecontaining IL1-15 at 70°C. e) Comparison of conductivities of the corresponding chloride-containing IL1-15 at 70°C. Note: Conductivity values could not be obtained at 60 and 70°C for the bromide-containing IL1 or for either IL11 variant due to the rather large scattering of the raw data points. Data points highlighted by a gray square in (a) and with a star in (d) and (e) indicate that these data were obtained right in the temperature window where a melting onset (start of the melting process) was already taking place. This can result in values that are higher than if the materials were pure solids. . Also note the different scales on the y-axes in (d) and (e).

Chemistry-A European Journal
Research Article doi.org/10.1002/chem.202201068 At 70°C the conductivities increase by up to two orders of magnitude (Table 5 and Figure 9d, e), with the exception of IL14, which shows a rather unusual behavior with a roughly constant conductivity. The resulting conductivities range between 10 À 5 and 10 À 4 S cm À 1 , with IL2 showing the highest conductivity of 9.3 × 10 À 4 S cm À 1 .
Overall, with the exception of IL14, all MILs show the same general behavior, which is an increased conductivity versus temperature. This is expected as a temperature increase leads to a higher ionic mobility in the ILs and hence to a higher conductivity.
Generally, the conductivities of the current bromide-containing MILs are comparable to other MILs, pyridinium-based compounds, or eutectic mixtures, including the chloride analogues of the compounds presented here. [42,63,64] It is interesting to note that overall the conductivities of the bromide-based MILs are much more uniform when compared to the chloride analogues. In general the conductivity is lower, but the increase versus temperature is quite similar. In contrast, chloride-based MILs show a much larger diversity in their conductivities versus temperature. This rather uniform conductivity versus temperature correlation suggest that the bromidecontaining MILs show slightly lower ionic mobilities but are more stable when applying a voltage.
This hypothesis is supported by the fact that no corrosion, decomposition or degradation processes can be observed during or after the measurements. This is in contrast to the chloride-containing MILs, where some compounds show a highly corrosive behavior where the electrodes and the MILs are visibly changed after the measurements. Moreover, in these cases products of decomposition and degradation processes like CuCl can be found when working with chloride-based MILs. [23,65] In contrast, the current MILs never show such a behavior and all processes remain reversible with no signs of MIL decomposition. As a result, the higher conductivities of the more corrosive chloride-based MILs might partially be caused by the formation and influence of CuCl. [66][67][68][69] As a result, the direct comparison of the chloride-based [42] and the bromide-based MILs (this study) shows that there is a tradeoff between conductivity and corrosion: while from a conductivity (and cost) standpoint, the chloride-based ILs would be attractive, they have also have a major drawback, which is the fact that they will corrode the electrodes in an electrochemical device rather rapidly. In fact, MILs are well known for their corrosive behavior. [42,[70][71][72] As a result, chloride-based MILs can corrode the gold plating of the electrodes, which exposes the underlying nickel layer, which is then oxidized by the transition metals of the [MCl 4 ] 2À anion of the MILs or by the formation of Cl 2 species in the course of the reaction. [42] These Cl 2 species can then attack the gold and also lead to the corrosion just described.
In contrast, MILs based on the [MBr 4 ] 2À anion will not be able to do this as the redox potential is different from the redox potential of bromide (1.37 V for Cl 2 vs. 1.07 V for Br 2 ) Consequently, the current study shows that bromide-based MILs have several advantages: 1) they are less corrosive and 2) they are more stable than the corresponding chlorides.
Considering these advantages along with the fact that they are solid at room temperature, the current data suggest that the bromide-containing MILs are highly promising materials for solid-state electrolyte (SE) batteries [73,74] or as electrolytes for applications at intermediate temperatures. [75] The aforementioned tradeoff of the IL conductivity versus (electrochemical) IL stability is clearly the result of the halide change within the MIL structures. The main part contributing to the stability of the [MBr 4 ] 2À compounds is the lower redox potential of bromide (1.37 V for Cl 2 vs. 1.07 V for Br 2 ), which is the result of a more ionic character of the chlorides. Following Pearson's hard and soft acids and base (HSAB) concept, Cl À is classified as a hard base, while Br À belongs to the (borderline) soft bases. [76] Consequently, Cl À has a higher affinity for ionic bonding, a higher charge density alongside a smaller ion size and a lower polarizability compared to Br À . We propose that this is one of the main factors for the corrosive behavior of the [MCl 4 ] 2À MILs. Furthermore, Cl À has a higher hydrogen bonding ability, since protons are classified as hard acids, which can be seen in the single-crystal structures of the [CuX 4 ] 2À compounds. Here, the [CuCl 4 ] 2À MIL forms a chain-like structure as the result of stronger hydrogen bonds, while the bromide analogue forms a rather dimer-like structure. As a consequence, we assume that the ionic conductivity of the [MCl 4 ] 2À MILs is higher compared to the bromide analogues, as the presence of the ion-guiding chain structure supports ion movement.

Conclusions
This article provides new insights into metal-containing halidebased ILs regarding the influence of chloride or bromide on structural, thermal, and electrochemical properties. Furthermore, this work validates the theoretical approach of using DFT calculations based on related compounds to analyze the structure of (metal-containing) ILs, which is often a problem due to the unwillingness of ILs to crystallize. Also, concerning electrochemical properties, the data presented here show that, in general, although bromide-based MILs show slightly worse conductivity data and slightly higher melting points, they are much more stable and show a relatively uniform behavior. As for the previously published chloride-based MILs, the conductivities can be directly adjusted with regard to the metal composition. As a result, bromide-containing MILs might well be even more promising as materials to be used in a variety of applications, such as batteries, electrolytes, solar cells, or sensors.
Synthesis: Synthesis followed the scheme described in ref. [55]. The synthetic procedure was the following: 0.5 g (2.31 mmol) of the metal salts along with the equimolar amount of N-butylpyridinium bromide (BuPyBr) in the ratio of 1 : 2 (4.63 mmol) were dissolved in 10 mL of propan-2-ol. The mixture was heated to 110°C and held at that temperature for 60 min under reflux conditions. If the reaction involved NiCl 2 , water was added to improve solubility and the reaction was held at 110°C for 6 h under reflux conditions. Rotary evaporation was used to remove the solvent and additional water, and the compounds were then dried under vacuum (10 À 3 bar) for 12 h. The resulting ILs were directly used for analysis without purification. Generally, the reactions led to a yield between 91 and 97 %. The synthesis was repeated multiple times to show reproducibility. Crystallization of the ILs was done using different methods: 1) small amounts of the IL were dissolved in different solvents, for example, methanol, ethanol, propan-2-ol, acetonitrile or acetone. After several days or weeks crystals were formed under cooling or solvent evaporation and used for further structure analysis. 2) Crystals were taken directly from the bulk material and used for X-ray crystal structure analysis.
Infrared spectroscopy: A Nicolet iS5 by Thermo Scientific was used for the IR measurements alongside an ID7 ATR-attachment with a diamond crystal. The samples were measured using ATR mode between 4000 and 400 cm À 1 with a resolution of 4 cm À 1 . All samples were measured as powders.
Thermogravimetric analysis: TGA was carried out on a Mettler Toledo TGA/DSC 3 + Thermogravimetric Analyzer (temperature range: 25 to 1000°C, mass resolution: 1.0 μg) at a heating rate of 10 K min À 1 under nitrogen flow in alumina crucibles.
Crystal structure analysis: The bulk of the compound (C 4 Py) 2 [CuBr 4 ] was analyzed under an optical microscope, it is notable that the crystallinity of the compound is very low as it can be seen in Figure S1. Suitable crystals for X-ray diffraction were separated by perfluorinated oil ( Figure S1) mounted at the sample holder, and analyzed at a Stoe Stadivari diffractometer with Mo Kα radiation (λ = 0.71073 Å). The data were corrected using the program X-Area and the structure was solved by direct methods and refined against F 2 on all data by full-matrix least-squares using the SHELX suite of programs. [77,78] The crystal structure was visualized with Diamond 4. [79] Deposition Number 2152368 contains the supplementary crystallographic data for this paper. These data are provided free of charge by the joint Cambridge Crystallographic Data Centre and Fachinformationszentrum Karlsruhe Access Structures service.
The Hirshfeld surface (HS) analysis was performed by using the program CrystalExplorer [80] with the CIF of the compound (C 4 Py) 2 [CuBr 4 ] as input file. The HS was calculated using a high surface resolution, the d norm surface was mapped over a range from À 0.07 (red) to 1.0 Å (blue). The red spots at the surface indicate close contacts between the atoms of the anion and atoms of the neighboring butyl-pyridinium cations.
Powder X-ray diffraction: X-ray powder diffraction data were collected on a PANalytical Empyrean powder X-ray diffractometer in a Bragg-Brentano geometry using Cu Kα radiation (λ = 1.5419 Å). It was equipped with a programmable divergence and anti-scatter slit and a large Ni-beta filter. The PIXcel1D detector was set to continuous mode with an active length of 3.0061°. θ/θ scans were run in a 2θ range of 4-70°with step size of 0.0131°operating at 40 kV and 40 mA. A sample rotation time of 1 s was used. The data set was recorded over 23 min for IL1-IL15 and over 115 min (5 repetitions) for IL13. Differential scanning calorimetry: DSC measurements were done using a Netzsch DSC 214 Polyma at 5-10 K min À 1 under nitrogen. Each run consisted of three heating-cooling cycles.
Electrochemistry: Impedance spectra were measured as follows: An impedance setup of the Autolab PGSTAT204 system (Metrohm) was used to measure from 10 5 Hz to 1 Hz with an amplitude of 0.3 V. A temperature-controlled microcell HC (rhd instruments) was used for temperature-dependant measurements, with the measurements carried out at temperatures ranging from 25 to 70°C. A Peltier element with an accuracy of 0.01°C conducted heating and cooling. The compounds were prepared as follows: The ILs were placed in separate silicon forms and heated to 110°C in a heating oven, with the temperature then being held for 60 min. Besides removing most of the residual water, this process produced a macroscopic pellet for usage in the measuring cell. This also ensures a large contact area with the electrodes. The pellets were then placed between the electrodes in the measuring cell. The conductivity σ was calculated from Equation (1), with R being the (electrolyte) resistance, A being the surface content of the circular-shaped electrodes, and d being the height of the sample, which also is the thickness of the electrode layer.
Cyclic voltammetry (CV) measurements were conducted as follows: A three-electrode system of a Metrohm Autolab PGSTAT204 was used to perform the measurements. The ILs (0.1 M) were solved in a dry acetonitrile/ferrocene solution, which was then placed in the measurement chamber. A Pt counter electrode with a surface of 1 cm 2 (with a central hole for reference electrode), a silver reference electrode with a diameter of 2 mm, and a glassy carbon working electrode were inserted. The ferrocene (5 × 10 À 4 M) was used as a reference.
Electrode and cell assembly: During the impedance measurements, the performance of the pure ILs was analyzed using a twoelectrode cell setup (Pt electrode, graphite electrode) with a rhd TSC battery (Ni electrodes 9 mm) in combination with a Metrohm Autolab PGSTAT204. To prevent corrosion and degradation of the Ni electrodes, Au electrodes were placed between sample and Ni electrodes. Measurements were done using the NOVA software (Metrohm). Analysis was done using the RelaxIS software (rhd instruments, Marburg, Germany).
Inductively coupled plasma optical emission spectroscopy: ICP-OES measurements were conducted as follows: The measurements were performed using the PerkinElmer Optical Spectrometer 5300 DV with the cyclon chamber/MiraMist nebulizer. Read time was 2-10 s with a power of 1400 W and plasma gas flow of 17 L min À 1 , nebulizer gas flow of 0.6 L min À 1 and auxiliary gas flow of 0.2 L min À 1 . The measurements were performed axially. All samples were dissolved in HNO 3 (3 %) before the measurement. The wavelengths were as follows: Cu 327.393 nm, Co 238.892 nm, Mn 257.610 nm, Ni 231.604 nm and Zn 206.200 nm.
DFT simulations: All calculations were done using the Vienna Ab initio Simulation Package [81,82] using the PBE functional [83] and a projector-augmented plane-wave basis (PAW). [84,85] Dispersion forces are included using Grimmes D3 method [86] with Becke-Jonson damping [87] (IVDW = 12). Further, we include non-spherical contributions from the gradient corrections inside the PAW spheres (LASPH = .TRUE.). Based on convergence tests we used spin polarized calculations with cut-off energies of 400 eV and Gamma point only for the refinement of the geometries. Further, the energetic difference between the ferromagnetic and different antiferromagnetic densities is extremely small. In what follows we use an initial density, which corresponds to 5.5 unpaired electrons on each Mn, by using the keyword "Magmon".
For all calculations, the structure model was taken from the crystallographic data of the monometallic chlorido MIL11. The initial lattice parameters were 14.6, 16.9 and 16.0 A.
The powder X-ray diffractograms were simulated with the pattern fitting system based on the maximum-entropy method of RIETAN-2000. [88]